
.block_categories_list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.block_categories_list .show_hr {
  border-top: 3px solid #0e0c0d;
  border-bottom: 3px solid #0e0c0d;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .block_categories_list .show_hr {
    padding-top: var(--general_layout_spacing);
    padding-bottom: var(--general_layout_spacing);
  }
}

@media screen and (max-width: 767px) {
  .block_categories_list .show_hr {
    padding: 80px 0;
  }
}

@media screen and (min-width: 768px) {
  .block_categories_list .show_hr {
    min-height: 600px;
  }
}

.block_categories_list .block_title-detail {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
}

.block_categories_list .content {
  width: 850px;
  max-width: 100%;
  margin: 0 auto;
}

.block_categories_list .content .categories_ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 5px;
}

.block_categories_list .content .categories_ul li {
  position: relative;
  white-space: nowrap;
}

.block_categories_list .content .categories_ul li:not(:last-child) h2::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8d8b8c;
}

.block_categories_list .content .categories_ul li h2 {
  padding-right: 20px;
  margin: 0;
  margin-right: 20px;
  position: relative;
  z-index: 150;
}

@media screen and (min-width: 768px) {
  .block_categories_list .content .categories_ul li h2 {
    font-size: 44px !important;
  }
}

.block_categories_list .content .categories_ul li h2 a {
  position: relative;
}

.block_categories_list .content .categories_ul li h2 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.25s;
}

.block_categories_list .content .categories_ul li h2 a:hover::after {
  width: 100%;
}

.block_categories_list .content .categories_ul li.active .popup-view {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1), visibility 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.block_categories_list .content .categories_ul li .popup-view {
  position: absolute;
  transform: translateY(-50%) translate(-50%);
  opacity: 0;
  visibility: hidden;
  z-index: 149;
}

@media screen and (min-width: 768px) {
  .block_categories_list .content .categories_ul li .popup-view {
    width: 300px;
  }
}

@media screen and (max-width: 767px) {
  .block_categories_list .content .categories_ul li .popup-view {
    width: 30vw;
    max-height: 300px;
  }
}

.block_categories_list .content .categories_ul li .popup-view img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  height: auto;
}

